const Sequelize = require('sequelize'); //引入Sequelize模块
const db = require('../db');
const User = require('./user')
const Collect = require('./collect')

//定义model
const FocusFans = db.define('FocusFans',{
    //粉丝
    from_uid:{type:Sequelize.INTEGER,allowNull:false},
    //被关注人
    to_uid:{type:Sequelize.INTEGER,allowNull:false},

}, {
        underscored:true,
        tableName:'focus_fans',
        timestamps: false//禁用创建时间戳
});


module.exports = FocusFans;